// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SetTagDialogFactory.cs" company="GT">
//   Gunther Taborga
// </copyright>
// <summary>
//   Defines the SetTagDialogFactory type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

// TODO refactored=true
namespace BatchID3.Editor.Dialogs
{
    using System.Collections.Generic;

    using BatchID3.Enumerations;
    using BatchID3.Mp3;

    public class SetTagDialogFactory : ISetTagDialogFactory
    {
        private readonly IMp3FileSystemManager mp3FileSystemManager;

        public SetTagDialogFactory(IMp3FileSystemManager mp3FileSystemManager)
        {
            this.mp3FileSystemManager = mp3FileSystemManager;
        }

        public ISetTagDialog GetSetTagDialog(IEnumerable<IMp3Entity> mp3Entities, IEnumerable<TagToken> tagTokens)
        {
            return new SetTagDialog(this.mp3FileSystemManager, mp3Entities, tagTokens);
        }
    }
}